package office.dao.hr;

import platform.common.dao.impl.BaseDomainProviderImpl;

public class AppointmentRegisterDP extends BaseDomainProviderImpl {
	/**
	 * 获取档案列表
	 * @return
	 */
	public String getFindList(){
		return "select new office.action.hr.wrapper.AppointmentRegisterWrapper(id,name,sex,birthDay,people,educational," +
				"speciality,finishSchool,politicalStatus,maritalStatus,health,bloodGroups,identification,address,registered," +
				"dossier,joke,addressNow,handsetCode,familyTel,criticalPerson,criticalTel,inDate,contentDate) from "+this.getDomainClassName();
	}
	/**
	 * 根据id获取档案对象
	 * @return
	 */
	public String getFindById(){
		return "select new office.action.hr.form.AppointmentRegisterForm(id,name,sex,birthDay,people,educational," +
				"speciality,finishSchool,politicalStatus,maritalStatus,health,bloodGroups,identification,address,registered," +
				"dossier,joke,addressNow,handsetCode,familyTel,criticalPerson,criticalTel,inDate,contentDate) from "+this.getDomainClassName()+
				" where id=:id";
	}
}
